<section class="content">
	<div class="row">
		<!-- left column -->
		<div class="col-md-12">
          <div class="box box-primary box-solid">
            <div class="box-header">
              <h3 class="box-title">请选择要查询的人员</h3>
            </div>
            <div class="box-body">
			<div class="form-group">
            <table id="example2" class="table table-bordered table-hover" ng-if="num == '0' || num == '8'">
				<thead>
					<tr>
						<th></th>
						<th style="text-align:center;">姓名</th>	
						<th style="text-align:center;">身份证号</th>
						<th style="text-align:center;">备注</th>
					</tr>
				</thead>
				<tbody ng-repeat="d in data">
					<tr ng-if="d.AAE0160 == '2'">
						<td align="center">
							<div >
								<input type="radio" name="radioBox" value="{{d.CA001}}">
							</div>
						</td>
						<td align="center">{{d.CA003}}</td>
						<td align="center">{{d.CA006}}</td>
						<td align="center">已申请参保</td>
					</tr>
				</tbody>
				<!-- <tbody style="border: 0px;">
					<tr><td colspan="3" style="color: red;">以下好友为已参保人员(不可选择):</td></tr>
				</tbody> -->
				<tbody ng-repeat="d in data">
					<tr ng-if="d.AAE0160 == '1'" style="background-color:#f0f0f0">
						<td align="center">
							<div >
								<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
							</div>
						</td>
						<td align="center">{{d.CA003}}</td>
						<td align="center">{{d.CA006}}</td>
						<td align="center">已参保</td>
					</tr>
				</tbody>

				<tbody ng-repeat="d in data">
					<tr ng-if="d.AAE0160 == '0'" style="background-color:#f0f0f0">
						<td align="center">
							<div >
								<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
							</div>
						</td>
						<td align="center">{{d.CA003}}</td>
						<td align="center">{{d.CA006}}</td>
						<td align="center">未参保</td>
					</tr>
				</tbody>
			</table>
			
			<table id="example2" class="table table-bordered table-hover" ng-if="num != '0' && num != '8'">
				<thead>
					<tr>
						<th></th>
						<th style="text-align:center;">姓名</th>	
						<th style="text-align:center;">身份证号</th>
						<th style="text-align:center;">备注</th>
					</tr>
				</thead>
				<tbody ng-repeat="d in data">
					<tr ng-if="d.AAE0160 == '1'">
						<td align="center">
							<div >
								<input type="radio" name="radioBox" value="{{d.CA001}}">
							</div>
						</td>
						<td align="center">{{d.CA003}}</td>
						<td align="center">{{d.CA006}}</td>
						<td align="center">已参保</td>
					</tr>
				</tbody>
				<!-- <tbody style="border: 0px;">
					<tr><td colspan="3" style="color: red;">以下好友为未参保人员(不可选择):</td></tr>
				</tbody> -->
				<tbody ng-repeat="d in data">
					<tr ng-if="d.AAE0160 == '0'" style="background-color:#f0f0f0">
						<td align="center">
							<div >
								<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
							</div>
						</td>
						<td align="center">{{d.CA003}}</td>
						<td align="center">{{d.CA006}}</td>
						<td align="center">未申请参保</td>
					</tr>
				</tbody>

				<tbody ng-repeat="d in data">
					<tr ng-if="d.AAE0160 == '2'" style="background-color:#f0f0f0">
						<td align="center">
							<div >
								<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
							</div>
						</td>
						<td align="center">{{d.CA003}}</td>
						<td align="center">{{d.CA006}}</td>
						<td align="center">待审核</td>
					</tr>
				</tbody>
			</table>
			</div>
			<div class="box-footer">
				<button ng-click="save()" class="btn btn-primary"><i class="fa fa-check"></i> 下一步</button>
			</div>
        </div>
        <!-- /.box-body -->
      </div>
      <!-- /.box -->
    </div>
	</div>
</section>